package com.chinaisafe.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chinaisafe.user.entity.SysMenu;
import com.chinaisafe.user.vo.request.SysMenuReqVO;
import com.chinaisafe.user.vo.response.SysMenuRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * SysMenuMapper
 * Description：菜单(资源)Mapper接口
 *
 * @author tby
 * @date 2024-07-11 17:32:41
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    /**
     * 根据条件获取菜单(资源)分页列表
     *
     * @param query 筛选参数
     * @return IPage<SysMenuRespVO> 查询结果
     * @author tby
     * @date 2024-07-11 17:32:41
     */
    List<SysMenuRespVO> queryList(@Param("param") SysMenuReqVO query);
}
